More refactoring. created idoubtitgame database to hold games instead of generic games database