Started migrating code to a MeteorJS package