qcintf etc

Added interface to c programs qcintf and reorganised the structure of
projects a bit.