WSC database updates

organized function split between the database classes (i.e. abstract vs
concrete methods) and also added SNP_Mapping_T table generator.