Moved  Messages und some settings to config file