splited the metadata implementation from the counterparties
Merge branch 'develop'