basic mapping imp
bug fix in object store + more work on mapping
skeleton for setting relationships via id