move rendering contexts to separate files; make window inherit from
drawable
Pixmap class
App::createPixmap
teapot opengl example