Use class not struct for WindowManager