Modify PGWrapper to use one-to-many relationship between a game and its moves