Local settings and db setup. Refs #440