initial database class