Split out/add chunk_header and add bitmap to CMakeLists