Standalone PHP Validation Class