Move event & table behavior into classes/files

Create an EventProcessor class to encapsulate the functionality related
to processing an event. Put it in its own file.
Move FulcrumTable class to its own file.