Module validation 

FIX Issue #137

* Add validateModule method
* Call validateModule method