Refactoring, optimization, basic documentation, setuptools.

- No blanket try-excepts
- Pythonic filenames
- No broken loops
- Compile regexps only once before pickling
- Don't automatically update the datafile. This is important, as it adds
  unpredictable delays to the processing.