move Configuration to the separate class