changed databasemanager comments to java docs