Create SAFE.php

Demo script for SAFE