add function for finding provider by module name