Converted from a Ruby/Sinatra app into a Pure Python one.