Converted player to classy style.
Instantiate player in main
Extract entity base class from player
Add collision detection to entity