first commit

This version is just a first draft with many dirty code, no
documentation. It is just a first attempt to proove the concept.