Add configuration class and specs