main => setup, keyHandler