base: adding c source to repo