External config file and init_db added