For AppFog support moved to mongoDbFactory