Fixing some issues with memory management and handling better table creation
game_result added, more work on database manager, now a game_result might be created and added to the database
fixing memory leaks