Clean up demo.php, add examples