refactored move and path system to use more events, instead of using update loop
fixed test, some more restructuring