Another main loop library
