Added event logging and state logging.
Adding registry for convienience
Added streaming of temp data.
Merge pull request #1 from AdamMagaluk/refactor

Refactor