Merge pull request #29 from twiniars/master

hi split write and read
control structure
fix
fix
Merge branch 'tmp'