Added a player class, so that different objects can be moved