split huge main.c in 3 files. But does not build