decoupled the actual mirror maker from launcher code