add ShaderMgr, shader related functions move into it.