Add config file management, supporting several profiles