Cleaning of the previous code

This code was imported to test the tools and play with the current code
developped by HUG. A cleaning was necessary before deciding on the
strategy we will apply to the project.