Added setter and users of class loader in gateway server and connections