Minor adaptations

Changing Cli to create recursive folders if don't exist.
Clean Intercept.php to minimum.