Changed Config Writing, added multiline comments, removed string map.