refactor table and student into their own modules