refactor network query to simplify method calling
lib methods to return the interface and subnet for the gateway interface
Merge pull request #309 from sseago/default-gateway

Default gateway