Replay:  Add import export capability. Fix some classcast exceptions
Munit: Make target output directory