stdin stdout IO implmented
Merge branch 'master' into io
test for stdio, and tweaks