Sprite constructor added