Allow devices that share the similar protocol, more work on the upcoming config file support, and various bugfixes