refactored out configuration loading