'Create a new web application object. To actually connect some
controllers use `add_controller` and `add_route`. Call
`finalize_config` when all controllers and routes have been added
and `__call__` to handle a request (WSGI style).'

def __init__(self):

    self.controllers = dict()
    self.api_controllers = dict()
    self.mapper = routes.Mapper()
    self.clientside_routes = routes.Mapper(controller_scan=None, register=False)
    self.mapper.minimization = True
    self.transaction_factory = DefaultWebTransaction
    self.trace_logger = None
