moved header/license to top of file as module docstring
reducing to 80 cols