added Sprites class.
Added prepare sprites code.