a simple application using mongodb and sinatra