Added Serialization

Added serialization to the calendar object