Improving the character movement

Messing with the character movement in code. Still WIP.