Separate the hardware configuration from the user configuration and add user configurable driver for generic relay boards