using Sinatra::Base

Made a small change to use sinatra base, rather than sinatra. This gives you more flexibility for the future (see the commit message).