init custom window class