Remove unnecessary methods,

Make hosts, ports and paths shared. The question is where are they most
relevant and since I have to go, there are for the moment in
TemperatureActivity but they may change soon.