Update and rename mail.c to main.c