Add support protocol template
This merge request add support for local handling of the new protocol template asset.
It also simplify and cleanup the command creation and handling for the local case.
Another side effect is the addition of local tests for the library asset.
Part of #60