add comment, reorganize config module