Move key2value.erl into a separate application.