separated demo from php-rest