Database application layer for Erlang Chef server