Added database driven configuration