Student Directory with refactored code and new attributes