adding miner, small reorg of files into bin dir