cleanup Window.sig
add CreateWindow
improve sample
add window class