Changing the model from discreet classes to being handled by a route file