use the controller name as section header

* This should both make the config a lot more friendly to handle
  and remove the max number of devices limitation
* Based on an suggested optimization by enodatio (#1)