Move sample code to example.php