split player logic/class
move player class