reworked config to use seperate files