Database support

CLASS_WSC_database and CLASS_database