Added attributes to message model; added markup and styles.