Common erlang library