moved some packages for better organization

I doubt it will be the last time though
Fixed up dns class and an attempt at better code

I split up "assignIp" into a few methods that can be useful for
otherthings like having a program generate a random ip for example.

Who knew you could spend a snowday learning?