Add data structure reconciler and tests

Cleans up auxiliary data structures in case old data stuck around due to
a crash, etc.
Merge pull request #6 from incredible-labs/reconciler

Add data structure reconciler and tests