* adding copyright header * fix fmt and a test
* minimal changes to solve most of the cves * cleanup * finished go mod vendor upgrades