Create patterns.php