Added get_input_output, will add diagram on wiki later. Demo hasn't used it yet.