Refactored the faculty method to a separate class.