Basic FrameBuffer class implemented and working