added serious work on c module. Included strbuf for utility.