Added sfl4 logger. Init database if table simulator doesn't exist.