added App class - need to support multiple windows though