added package smart-collections
replaced with smartcollections and removed observe on server
pubsub subscribe and unsubscribe adapted for observeChanges