Implemented ImageManipulator class.