Added event manager
Added error controller
Improved the route object
Improved the event manager