move color pairs and window creating into App's method create_window