window controller with views