Finished Client/Master/Slave including testing of all three.