Rewrite game code

Re-wrote the game code so that is one with the angular controller to
make it easier for the resource factories to prepare the resources to
be sent and received to the web api!