Move serveraddress declaration to config