Moved all game code over to its own view

Ge0rges will need to sort this out.