Cleaning SC_DB_DBFactory.
Delete unused functions.