Initial commit for key-value store.

Under 500 lines :)