Erlang application skeleton