Created the database class