added an object controller, added a player class and updated some little things