Completed unit testing setup
Added basic event dispatcher