Created wrapping class Win. Added PopUp factory.