refactoring Controller class
refactoring ListController