controller: break config out into file