Generate import controller