add config line parsing to parser.c