Adding settings and db