Foundations of Module and Ring Theory