fix #45 add an isWrite option on RefTable.
Merge pull request #46 from bronze1man/pr-45

fix #45 add an isWrite option on RefTable.