removing whatever david did
compilable version of get_gateway.c with implemented get ip and mocked others.