Added boilerplate database support to automated caseworker.