remove duplicated Configuration class