Attempting to implement my URL shortener Ovost in Sinatra.