added restclient package and lines-to-csv func