refactored the logic to not to put anything into session
added test cases for use proper sub cleanup with unsub
version bumped to 1.0.1