def METHOD_NAME(self):
    logging.basicConfig()
    self.logger = logging.getLogger(self.optparser.prog)
    if (self.options.debug):
        self.logger.setLevel(logging.DEBUG)
    elif (self.options.verbose):
        self.logger.setLevel(logging.INFO)
    DB.Base.metadata.create_all(DB.db_engine())
    self.session = DB.db_session()