big ass refactoring :/
removes the concept of providers group from modules