adding a generic driver class
adding convert to grayscale method