re-enabled inertia and improved some code

Engine Changes:
-removed unused class "line"
-improved class "complex_object"
-added "sync" methods for regulating time-sensitive functions
-renamed some methods and cleaned up some code
-implemented friction improved physics

Demo Changes:
-pressing "esc" opens the pause menu