more errors in enum, don't use keyword for sizet type, storing of ics files seems to work now.
the biggest issue was to get set-layout working