using separate database.config file