An ad server based on sinatra