add activity group dao, add sql debug configuration