Initial implementation of event subscribing, fetching and ubsubscribing.