Update and rename bas.c to main.c