Foreman now assigns tasks

Foreman now assigns tasks to miners