add erlang

Added Earlang functionality.