Updated command line arguments, optimized cache garbage collection, fixed a bug in PathManager, added ScriptManager, InputManager, and ViewportManager stub, some refactoring.