Moves IP Address into their own module

Refactors the plugin to move the IP Address calls and associated tests
into separate submodules for better readability.