trivial: add a line break
Split device class into its own module
Split protocol out to its own file