Added support for sinatra - closes #18