added Devices.java class