Create class AppWindow