Update headers and added headers to c file