(chore) parseConfig into its own module
(magrathea) Use parseConfig for parsing input data