Added cuda and cpu miner