Modified player movement logic.

Much more work required