feature : better error handling of the modules loading. (compatible with python 2 and 3)