Created socket listening in new thread
Added handlers for sending information from socket thread to UI thread
Added blockingqueue to share information from UI thread to socket thread