Added some security to the URL to Controller mapping (Fixing a potential directory transversal exploit) and implemented a global object registry and a global object base class.