handle various options
added handleResponse.inc.php
handle v1 & v2 responses, added examples