streamlined the initilization and fallback to the default config if the app isnt provided with one