Added a database class