some upload stuff and cbor stub
some more c bor
use common.mk for include dirs
epic bug in structs gathering tools fixed