Makes cleanup fixes to DB example.
Another cleanup fix.
Fixes.
Cleans up db sample.
Makes more cleanup.
Another set of cleanup.
Renames variables.