fix #12 (plist files handled as in perl implementation)
move report generation related logic into separate module
fix report directory cleanup