OpenGL boilerplate code and other misc. useful classes