Merged main.c, protos.h and utils.c