Building a Sinatra application using a relational database.