Added compare class
Merge branch 'compare'