added device.rb to wongi-engine