object of Sharedconnection class is created