break out inputs and outputs into separate templates, use server to do output rendering