changed ping algorithm
java 7 features replaced with java 6 features
dependency scope set to compile