created custom sprite class that will alow for index names and interpolation, this makes it much easyer to work with lua