def METHOD_NAME(temboard):
    Response.default_content_type = 'text/plain'
    app = CustomBottle(autojson=False)
    app.temboard = temboard
    app.add_hook('before_request', before_request_log)
    # First declared, first executed.
    app.install(JSONPlugin())
    app.install(SignaturePlugin())
    app.install(PostgresPlugin())
    return app