Cleaning
Basic stream-based I/O impl

See #54