added encode and decode method for writing to and reading from an xml file
encode is called from flush and decode is called from the constructor when a new contact manager object is created
added checks to the ensure file exists and is  not empty when decoding
amended functionality in addMeetingNotes to allow for appending of notest to an existing past meeting(and not overwriting)