Added support for less-hacky IO. Need to remove traces in IO functions now