This commit adds additional index entries for IP ranges and IP address references.
This commit moves the ip module to a ip.py file. The separate directory is not needed for a single Python file.