Refactored class ManageProductsController, added more methods to divide responsibility between them.