moved API urls out of the way