First attempt at a SW API in Ruby and Sinatra.