removed the "singleton" use of shader library