Cleaned up warnings, added some functionality to make IP relations
removed some reminder comments