Editable ip and port to send messages to t-rex.
Clean up commented code.