Added RavenDB persistence, some query logic and pub/sub concept for Store.