cleanup
FEA: db config from settings, prepared statements on production