set up event.js and added fields to systems

set up the event.js with some rough values in arrays, should work out,
next we need to add stuff to main to reinitialize global values and
such.

added
isPrimary: false,
isSecondary: false,

as fields for each system to help keep track of whats what during events