commit 9

Java doc updated
methods created in set up client and the class is more OOP compliant