Create a BaseService class for use_mysql attribute