Ex situ bioremediation and prototype implementation