Like couchapp, but for Erlang