Reorganization of file structure and abstraction of for compare view controller so that it can be used generically.