Removed lots of old code
Changed the memory stack name to "path"
Cleaned up named constants for movement