Database class shuffle

Create another database class (CLASS_database_psg) to extend
CLASS_database with focus on SEV interactions (stagestats_t,
detectorinfo_t, events_t, etc.) and shuffled methods around between the
two and also CLASS_CManager_database to better concentrate their
separate roles.