def __init__(self, db):
        self.db = db
        self.co = Factory.get('Constants')(db)
        self.clconst = Factory.get('CLConstants')(db)

        self.group_class = Factory.get('Group')
        self.account_class = Factory.get('Account')

        # Or compile on each call to
        self.url_whitelist = [re.compile(r) for r in cereconf.FORWARD_URL_WHITELIST]