Reorganised parse into own script ready for comparison.
Added compare.