complete test coverage
docstrings and exports
sofar
started index and stream footer decoding