Move diff to rugged

Only for discussion. Not ready for merge.
@Razer6 Please, contact with @skv-headless for this question (@randx aware of the reasons). ;) @skv-headless can you continue this work?