Starting the database class.