Moved things to driver state, too coupled right now to make a proper device (nw)