Rename cgminer() function to miner()