Move C code into ext folder