Added pattern matching in notify_wrap to check that all bases covered
Fixed pattern matching and created guards
Fixed old warnings, and added basic tests
fixed unmatched error
Merge pull request #59 from th0114nd/subscription

Added pattern matching in notify_wrap to check that all bases covered