Write keys, with checksum
Write footer.
Write basic settings, other than cross-segment which is still not implemented.
Pass in the key
Pass in the cross-segment number.