Refactor: Moving out transport code into its own class.
Parsing devices