add database and add file connect db