clear services at the end of dispose
some minor cleanups
more work on the memory driver based modbus interface