added get all for models and controllers