split ops
io.hpp init
stream io for testing