Abstracting some WebGL utility classes out