Refactored java code - added more exception handling and added necessary code level documentation.
Simplified the 'hub' processer code for different interface calls.
Merge pull request #5 from treelogic-swe/refactor_and_javadoc

merged refactor_and_javadoc to master