Added a class database for the dbconnection