remove requirement for sun pacakge, this should be done when calling the elasticsearch class!