Adding erlang.mk and Makefile + other little tweaks