Implement LocalDataStore.

Use Maps to store stuff, for fast lookup.
Fix tests to use LocalDataStore.
Merge pull request #75 from stephenjust/localdatastore

Localdatastore