write/read/purge implemented. I am about half way there