Added configuration of database