new database class and start of initialization code