separate ccnx handle for sync and app data
diff --git a/model/sync-logic.cc b/model/sync-logic.cc
index 7f24e04..c143498 100644
--- a/model/sync-logic.cc
+++ b/model/sync-logic.cc
@@ -37,12 +37,11 @@
 
 SyncLogic::SyncLogic (const std::string &syncPrefix,
                       LogicUpdateCallback onUpdate,
-                      LogicRemoveCallback onRemove,
-                      CcnxWrapperPtr ccnxHandle)
+                      LogicRemoveCallback onRemove)
   : m_syncPrefix (syncPrefix)
   , m_onUpdate (onUpdate)
+	, m_ccnxHandle(new CcnxWrapper())
   , m_onRemove (onRemove)
-  , m_ccnxHandle (ccnxHandle)
   , m_randomGenerator (static_cast<unsigned int> (std::time (0)))
   , m_rangeUniformRandom (m_randomGenerator, uniform_int<> (20,100))
 {