Merged macon.c with main.c

Also nearly completed Macon.c