Turned cache function into a decorator.
Prevented client and public client from removing cached data on every start. Subscription cache now not completely removed when adding/removing a subscription.
Corrected Object type of search results listing.
Bugfixes.