add routes and studentFactory