'Creates a controller attached to an application instance
:param app: the application instance'

def __init__(self, app):

    self.account_name = None
    self.app = app
    self.trans_id = '-'
    self._allowed_methods = None
