[Subscriptions] add Subscription, HistoryEntry