Splitting up config vars from discovery backend.

Plan is to have drivers for redis and etcd
stability, stats improvements, tests and removing unused code.
minimizing lock time