more reactoring, heading to a couple of C++ classes to handle the OpenGL stuff on iOS