event driven architecture

prototype for the event driven architecture.  no testing complete.