Adding logic for separate config files.
Avoiding redundant instances by using cache.