Code Cleanup + AutoIP

No need to config the IP.