the Pact compiler now gets the hardware metrics from yarn. Some reworkings here and there