Refactored the factories
Patient controller gets list of patients at one time