Added a TextIO class to replace ShaderIO and TemplateIO.