This is a config loader that can detect environment and load the right files