restructure into Ember module