architecture cleanup
basic test cases for modbus server