Added player class, a type of entity. Moved handleInput method into new player class.