migrate ember-rails code to ember-cli. (partial progress)