Simple prototype of Window abstraction