pulled up pipeline setup method
pulled up invocation of addHandlers
doco