#62 - removes commented code, adds encoding and enables creation of compare view