Update and rename cod to cod.c