def __init__(self, catchall=True, autojson=True, config=None):
self.routes = [] <EOL>self.router = Router() <EOL>self.plugins = [] <EOL>self.error_handler = {}<EOL>self.config = ConfigDict(config or {})<EOL>self.catchall = catchall<EOL>self.hooks = HooksPlugin()<EOL>self.install(self.hooks)<EOL>if autojson:<EOL><INDENT>self.install(JSONPlugin())<EOL><DEDENT>self.install(TemplatePlugin())<EOL>
Create a new bottle instance.
            You usually don't do that. Use `bottle.app.push()` instead.