Parse environment variables when getting config values

When configuration values are retrieved they should be check for the format ${ENV_VAR}. In such case the actual value of the environment variable should be retrieved.