added socket module and started io connection