Add framebuffer object and monitor object

This implements the framebuffer and monitor object
You could return `0` if everything is equal and do some more calculation in the other case.

I guess you have to find a nice algorithm for this, because the compare functions needs the appropriate return.