Improve event emission logic with help of maybe monad
Release 0.0.2