Code cleanup

Bringing Ember.js best practices to the application.