Gh476 self contained independent reusable implementation

#476 
dupa cum am vorbit ieri, de pus in proiectul flexutil.samples