Lotsa work

read/write works. Still missing things to get mappings working