Renamed hardware module to machine

To avoid confusion