added runDiff
Fixed JSON
Changed Difference to non-templates class and added metadata class
printJson is now member of difference class
small changes for outputting JSON