Create a player dao and factor out some stuff from game