Move main.c to root directory