Made initial code review changes

Updated c code to be more verbose and removed an unneccessary
function from simple_webtest