Cleanups
- cleaned up types a bit
- allow using custom baudrate for config too