add source file in C
and test files generator