Added send_telnet function to simplify the workflow

* send_telnet added
* Commented out some code in preparation to eliminate it.