NetworkEnvironment creation and disposal

NE is now created when the device connects to a Wifi Network (even
after boot up) and diposed when the connection is lost.
Created three simple examples