Clean up code to make Sonar happy, change all variable to start with lower case, change all instances of String.equals("text") to "text".equals(String), use exception logger instead of put to terminal window.

Started JUnit generation