Accurate runtime saving, result xml writing
Refactoring, naming conventions