Yes, you are right the SDM is the answer for my ideas, only now ( a few day after reading this) I realize that, thanks for your critics.
In respect to my last comments on changes I've done a patch for then an submited it to SDM and emailed the package maintainners.
There is a saying:
Soft wather, hard rock, so many strokes till a hole.
(well, is more or less a literal translation)