Add initial erlang library structure