Step towards splitting the settings of lib, repo and client into dedicated interfaces

Change-Id: I8313756e94a4dc953ced1d3dacaa20aa4afbc96f