Adding Components

added try catch catch finally series

connectToServer();
getStreams();
processConnection();
closeConnection();

plus method stubs