change include
change include and fix scanner test
buffer constructor work with const char
moved all components into bits