improve logging
Change error traitment & improve logging
maven-ization of the project