massive refactor; support config from file or Meteor.settings