adding phpcr support

prototype of phpcr support implemented