ADDED new config structure to app