Split functions from user interaction. Replaced old ip management with managed solution