Refactoring

Modify string paraameter names
adding throw IOException
Adding components

processConnection
displayMessage