cp_good_sql added to DBAPI modules, tasks cleanup fixed