Updated globals.lua for #13 and added license and usage examples.