adds top level namespace resovler to platformapi, requires platform-api