started framing the functions in the EventWriter
restructed event writer, no need for funciton pointers now
basic event write function sketched out
Added missing event selector call
Stubbed in all event cases except for CTO types