Bugfixes and Speed Improvements

[CHANGE] Logging format and default file structure.
[CHANGE] Updated javatools version.

[FIX] More caching in prior computation for a huge performance gain.
[FIX] General speed improvements, reduced memory footprint.