changed AddDependency to Register.  Added helper methods for common configuration tasks.