Pretty much finished the MiningRig
Added a debug log