Updates ES Miner

Added location enum.
Made some suggested changes to code.