Added ping function
Added DBus binding for network.