Emberjs routing; refactor; test coverage