I've written some buggy code to solve the main issues which is maintained at
http://catenova.org/~paolino/MakeMachine
The code still doesn't include the libmachine extension as I try to explain in the document.
The ideas justifying the code are readable here
http://docs.google.com/View?docID=dd73w3sk_5hbwm4ffk&revision=_latest&hgd=1
Anything about that is very appreciated .
Thanks
Paolino