an attempt at a pure ruby key-value store