Added basic persistence of requests to db.