Unfortunately I have ZERO experience in modding, but I had and idea for a companion mod to Forestry/Extra Bees.
An Earthworm mod, you can find/breed Earthworms in Earthworm boxes similar to Bees in the forestry mod, not so in-depth though. They could output heavy metal sludge Eg. Iron, gold...