Split project.c up into five files