Update example files and Add Main.php