Extensions of Rings and Modules