some code cleanup, addition of a method to add a network interface to a server