Resolve models in key and machine view in an Ember way

Resolve models in key and machine view in an Ember way