Removed three methods from mainActivity.
Fixed backThread and TCPController.
we are ready to check connections with TCP.