Added master classes for PHP 5.4, 5.3 and 5.2. Added new demos.