I need to convert the xaml to c# , comment on the load component line and apply the model view controller pattern in this link code PathAnimations. Can you help with this?