Created a new class to display images and act as a pushButton