GNTP library written in scala