add color control & unit test and realize framebuffer device