Major refactoring as an ember-cli addon