main.cpp now has some opengl code