Moved config file reader code into lib/parser