moving c code it its own repo