GL specific code entirely out of main app, introduced new Mesh object