Updated documentation primarily.
Added an example script.