very raw initial version of 'load' and 'save'