This commit moves the ip module to a ip.py file. The separate directory is not needed for a single Python file.