Move GL code to graphics module

Also combine glext code into glwrap