Added Java doc for DB classes