Refactors Config class.

Its behavior is still the same.
Changed naming convention for environment specific config.yml files.

Before this change the naming convention was like this`config_production.yml`.

Now the naming convention is: `production.config.yml`