add confing file and sql database