sinatra multi-thread project template