Adding headers and moving functions. Staring on a bit extractor.