InitShaderManager function