First cut introducing ember
Cleaned up code somewhat. Got mobile working.