Added 'globalName' for the options.
Added a minified version.
Added some comments/TODOs.
Removed some unused stuff.
Added some more stuff in README.md

Signed-off-by: jayther <jayther@gmail.com>