Changed configuration loading methods, using viper package to load configuration