first version of php wrapper for timestore