Added Java and PHP REST wrappers