`module Appium::Device` requires the Appium module to exist.

> [2] pry(main)> module Appium::Device
[2] pry(main)* end  
NameError: uninitialized constant Appium

It's better to declare each module:

```
module Appium
  module Device
  end
end
```