Finished parser to read inputs.