finalize interface, add Pre function shorcut, add Pre.php w/examples