created config window factory