add basic window class
Merge pull request #1 from ZJUGKC/master

add basic window class