split C/CL implementations in different files (III); also the interface for building extension modules has been improved.