Implemented basic Win class