started implementing miner/config + more json parsing