database class added