added some IO library stuff, it's really incomplete
pls dont throw things at me!