Added first functionality to database and main game classes.