Initialize configuration of database