Revert "Move functions that are not shared between Mineral and Source"
Revert "Move functions that are not shared between Mineral and Source"

This reverts commit cda253324499c2b95f61f02aec57d990771959b5.

ajd4223/hivemind