Functionize start miner