All webapp database accesses moved to db app.