Added logging support to modules
Added logging support to Modules.py