Adding support for Sinatra contrib and config file.