cds: handling events + admin bar

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
cds: refactoring.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>