I\'m trying to build a smart package for Meteor app that provides some monitoring capabilities and other tools based on the features of the smart package. For more details read
I had a similar question. There is less clunky example of doing this in the router meteor package example.
https://github.com/tmeasday/meteor-router/tree/master/examples/app-with-layout
Hope this helps.