Added database class file