Added methods to access the framebuffer (learned from Baking Pi tutorial)