Added methods to persist games and heroes to database
Added some code to translate from objects obtained from the database to Game objects and vice-versa