hiding setup of internal logic behind core/mk-pipeline