Create a database class