use URI instead of strings

Pay back some technical debts:
* use URI instead of strings to connect to backends [done]