library d ma machines of mining