Update all core files and add mongodb