url shortener and apitools layer