Added main()
Added command-line parser and ability to change Mgmt and Internal interfaces