[#22] Created a factory to create TextSprites.