initial commit
add a _save alias to save
refactor and extract classes out in separate files
improve index.php
remove debug function
modify index.php to fix the email
add an exception test for email
add readme and license