Largely rewrited programs for using Django+MongoDB.