separated ifconfig, tunlr functionality to separate classes
modified to use imported classes