Refactored out the siren entity building from device_resource.

 Placed it into machine_config. This way it can be reused across argo resources.