support Device

support for device and remove support for simulator