Add Looper to handle main loop