updated action and result codes
game can now be serialized
database class can now insert saved games
implemented the game save action