nests models inside brand struct
compiles parsed regex patterns
fixes location config merging
detects default device type for brands