Added some context rendering stuff for sprites

Sprite format was defined and added