added functionality to create a persistent tun device and setting owner