Key value store written in Erlang