First working prototype, without graphs though.

The script has some TODOs already, but keeps an almost sane directory
holding that ready to be used.