Moving ip checking and logic to new class in prep for UI/service etc
Adding new class to handle file input/output