created gamewindow class