Make network manager more declarative friendly

In order to use of NetworkManager singleton in QML make it declarative friendly