use schema registration instead of models via require