improved logging and namespacing
handle calls to platform within a domain, better logging