initial commit
created a queue of events which can asynchronously be added to from the browser