Move the apiUrl out to a constant