refactoring to be more scalable. temporarily tracking test.c.
Merge branch 'master' of https://github.com/eriknyquist/modbus