Simple link shortener (like bit.ly) using sinatra and redis