Following tutorial

* Added some input handling
* Moved App code into App.cpp
* Will use Simulator.{h,cpp} for simulator specific code.