Merge pull request #1 from ZJUGKC/master

add basic window class