converted return values of commands to 'string'. the commands executes and returns string output if any. the string output is then written to the tcp socket via FILE stream. 

still needs work and testing.

cli will need an update to work with this.