Added database sync controller.