added ember-data to project and extracted routing and controller logic to separate files