Refactoring to the Single Responsibility Principle

In this post we are going to show a simple example of refactoring code to better adhere to the Single Responsibility Principle (SRP).