Made API IP address a config variable.