Bug 10 fixed player movement

Moved all that player movement out of the update function