Separated menu and game logic into scenes

  * removed tabs and replaced them with 2 spaces
  * created a config object to common values
  * created Engine object that controls graphics and inputs
  * from the engine, graphic and input dependencies are passed to the
  *   different scenes and are processed accordingly