made debug messages less misleading
moved some code to separate functions
Support for erlang_call (final part - receiving)
Added sample erlang app with demo gen_server