added addDefaultConfig method to interface