io.py: basic customized IO library, first commit