Simplify the I/O system before porting it to Base

Clean up demos and docs
Update tests