PEP8 fixes.
Makes initial comment a module-level docstring.
Moves files into package.
Moves safe pickle functions out to module.
fixes up lots of files