Move rendering to the new Pipeline class

Renderer becomes a Context
Minor changes to frame buffers and util classes
Signed-off-by: Aleksi Sapon <QcTechs@gmail.com>