refactor model import in controller files