Split C code into several files, with view to trying unit testing