Throws an exception if multiple main modules are founded
Throws an exception if multiple main modules are founded
Some exceptions wraps into superclasses
Some exceptions wraps into superclasses
Remove unused imports
Minor Refactoring