Add validation.php, new directory tree

added a validation.php file which is used to validate the users
URL which they put into the application and tests the App id.