added a registerProvider method that will register a provider based on the statically defined name