finalized storage & reading

also:
 - prepared for export

todo:
 - export

note:
 - data integrity not confirmed, but probable