Simple URL shortener using Sinatra