Db default

adds DB defaults and custom logic for setting start_time and game_code