Upgrade to packages system meteor 0.9.0 and refactor