Object oriented version, export more "internal" computed values to export pickle

I've tried to compile your code into a Wisecondor object. Still the code is not optimized for OO.

Another rewrite is needed.

We now export more variables to the pickle file for external usage.