hardwareservice: Move the solid code in its own backend and add a cli backend

The cli backend is still incomplete.