Fix up documentation and package structure. Add extractSegs from emuSX for now.