Add DB boilerplate.