Refactored Device to use throwing and moved all global functionality into Device.
Refactored Device to use throwing and moved all global functionality into Device.

Szaq/swift-cl,Szaq/swift-cl,Szaq/swift-cl