Fixed MainController parse, test for valid inputs

Signed-off-by: Joseph <josel@pdx.edu>