Device refactor. Getting rid of the machine_config class, and adding all that functionality under device.
Merge pull request #12 from zettajs/device-refactor

Device refactor.