Converted ModuleHelper into static function  library