Finished getIP method and changed the constructor.
Deleted the files that should've been deleted in the first place.
Merge pull request #1 from gw1108/master

Finished getIP method and changed the constructor.