adding oop to calendar. File loads now per class... added function for write in calendar