Various java tool classes