fixed issue #58; changed to "hostname -i"
clean up; organize imports