Initial version of php client