* added server and port parameters to all API as well as wrappers classes