Create parse_inputs.r

Initial version of universal input handler and parser.