Wrote comments and documentation in HedgeDetector.java
Updated xml_to_crowdflower.sh to take care of compilation if necessary.