Update and rename main.cpp to main.c