Added database class