created games and added model logic