Finished getIP method and changed the constructor.