Major rewrite for perfsonar 3.4

rewrite for perfsonar 3.4
no backward compatibility with older perfsonar versions