Add support for Sinatra; decouple Rails. close #119