import scala converter to convert between java and scala collections
add new metric type
clean up comments