Adding a platform loading function to find one with desired device

If no platform with the desired device type exists it returns null