Add platform wrapper

Change-Id: I5a8df31c1528f1957ab1bbc8dc460d38e426a956