Logging, caching, basic dumping

Added stuff mostly used for debugging. All data from wiki is now cached so it's easier and faster to tweak things.

TODO: get rest of metadata and associate with chronicles