Update and rename main to main.c