Modbus server added.

Also some minor changes to modbus client done.