Completed rewrite of movement system.

Signed-off-by: Ken 'Minalien' Murray <minalien@gmail.com>