Refactor idbc.core.db

Fix member variable names.
Fix javadoc warnings.