Created super class Sprite image with common functions and constructor.