removed example.php, its in the readme
added registerApp method
added registerApp method