updated PHP script to handle AoD URIs. handled ecrm Physical Thing class for objects