Move math functions to separate library.
Dir structure update. Use StopWatch objects in Engine.