The main app now gets its main handler from a separate file defining that handler.