Move Command function in Network.Utils

As we discussed earlier yesterday, move commands function in Network.Utils module.

I also updated some documentation comments on Main module