adding rw functionality and test
Merge branch 'master' of github.com:PLT-MAP/map