get rid of main.c and references to it, it has been unused for a while now