model/Affils.php moved to core module