updated readme
Refactor IO operation