Add instance variables to access server details when including as a lib