adds package and dep on elasticsearch