moved all player stuff to Player object