enable terrplant mongodb and threading