Added Erlang application skeleton.

The skeleton incorporates example code from ealirc.