Added C source.

Deleted unused branch.