fixed tests and refactored gui methods
All classes and methods have now javadoc
removed unnecessary dependency