add message feature, lint some codes, and improve lectures