Completely reorganized repository.

Put everything in line with the new use cases issue #41.
These changes will be reflected in the new wiki docs.
Also removed all legacy plotting code, and greatly simplified what's left