Add javadoc to database class