Changed visibily of ipAddress in Main to public