Add comments.
Update erlang.mk.
Add license.
Bump version to 0.5.0.