url shortener written in scala with the play framework