make NetworkInterface a static class, first try to receive a command from the client
fixed test for NetworkInterface to use the static methods