adds gitignore and complete ports interface in erlang and c