move all config into firmware