'AppBuilder constructor
:param app:
The flask app object
:param session:
The SQLAlchemy session object
:param menu:
optional, a previous contructed menu
:param indexview:
optional, your customized indexview
:param static_folder:
optional, your override for the global static folder
:param static_url_path:
optional, your override for the global static url path
:param security_manager_class:
optional, pass your own security manager class'

def __init__(self, app=None, session=None, menu=None, indexview=None, base_template='appbuilder/baselayout.html', static_folder='static/appbuilder', static_url_path='/appbuilder', security_manager_class=None):

    self.baseviews = []
    self._addon_managers = []
    self.addon_managers = {}
    self.menu = (menu or Menu())
    self.base_template = base_template
    self.security_manager_class = security_manager_class
    self.indexview = (indexview or IndexView)
    self.static_folder = static_folder
    self.static_url_path = static_url_path
    self.app = app
    if (app is not None):
        self.init_app(app, session)
