Added the code for accessing geolocation and network

Signed-off-by: Roshan <roshanbhgt@gmail.com>