Right, seems that my head works again and managed to merge it back into the two files
Deleted the main.c, not needed anymore