Refactoring; Add typed Buffer
update .gitignore
test case for events; use typed buffer for enqueueRead/WriteBuffer; update .gitignore
Merge pull request #2 from w162/working

Events