add input and output options
Merge pull request #11 from trisrael/in-out

add input and output options