Updated library so it can be released as a luarock.
Updated history