move main under cmd/route-emitter