Add the parsing to main