moved import_requirements? logic from imports controller to model