working comparison prototype including loading image, loading database, comparing and displaying of images