Created Game class, added db support, changed lobby smarts to use it