add Common functions and GLSLCompiler class