Preparation work for moving gaia out of the SDK.
* rename wire to codec * fix formatting and cli * fix the docs