Created MessageClass and MessageClss Collection; created save function