add a controller for input

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>