Add modules_list and module_exists functions