simple url shortener written in