add freemaker and mongodb