initialize devices and platform