add initialize method for load database configuration