Made connection config file. Revisited service provider and fixed the bug
for TCP connection.