the buoy was mostly a homing beacon , but it also contained a supply of moles small machines that would tunnel through the asteroid preparing it for the larger machines that would follow later to harvest the metallic core .