Added config file parsing