Added SubsciptionManager, fixed #30 and #31
Added SubsciptionManager, fixed #30 and #31