Made character class to hold player position,direction. Now use it to control movement.