Configuration class holds all configuration
refactor resourcebuilder and Source