Add config for db, and add db functionality to AccessLogReader