Add util.c and util.h
Cleanup loop.c