Moved Player and Obstacle into new classes