Add framebuffer object and monitor object

This implements the framebuffer and monitor object
Can you add documentation why you do this?