Renaming main.cpp to miner.cpp