moved data package from controller to core