version 0.3

* Massive code refactoring
* Additional checks on the mandatory parameters