Changed layout and added binarizer for the images