Changed how to pass DataManager to controller.