Migrate forecast management new structure code