Move Weighting.cs to Mdr project