adding the beginning of a tab trigger
breaking buffer and input and cursor into classes, under a main editor class.
tab trigger now working as an event (kinda)