further extension of the movement system.

not yet usable, but compiling...
Merge pull request #24 from NPTricky/develop.movement_system

further extension of the movement system.