RESTfull connection, and other improvements