Updated documentation.

Changed location to top of file, sorted @*, & added inline license