finished CRUD functionality for games