Created Device class