Added documentation to the Database class