C code updated.
Updated resources tar
Tidy up of autotools file.