Added config file parsing to API