add DBLoader and DBTemplate