Added player object and movement
fixed bugs in player object