Create main_loop.c