WIP - version 0.0.1

The first full code, to be tested and re-arrange for performances