add challenge database and initialize method