12 refactor devices

This really completes all the underpinnings of #12, adding extra processes now is pretty trivial.