a basic openGL wrapper to make life easier