Refactor the code to switch to using DID Manager instead of carrying protocol related code in each repository. https://github.com/fairpm/did-manager