Refactored Http/Routing code, added App class