Changing access to configuration via getter

the access to the configuration is now with static getters instead of
static variables