refactoring student module