moved player stuff to a new Player class that inherits from a new Entity base class