Added configuration class to provide better DSL