add Interet class for flexibility if we need selectors in the future
diff --git a/src/ccnx-wrapper.cpp b/src/ccnx-wrapper.cpp
index 0710c67..1b791c9 100644
--- a/src/ccnx-wrapper.cpp
+++ b/src/ccnx-wrapper.cpp
@@ -32,6 +32,17 @@
   return &bytes[0];
 }
 
+void
+split(const string &name, Comps &comps)
+{
+  stringstream ss(name);
+  string comp;
+  while(getline(ss, comp, '/'))
+  {
+    comps.push_back(comp);
+  }
+}
+
 CcnxWrapper::CcnxWrapper()
   : m_handle (0)
   , m_keyStore (0)
@@ -376,7 +387,7 @@
   return CCN_UPCALL_RESULT_OK;
 }
 
-int CcnxWrapper::sendInterest (const string &strInterest, Closure *closure)
+int CcnxWrapper::sendInterest (const Interest &interest, Closure *closure)
 {
   recursive_mutex::scoped_lock lock(m_mutex);
   if (!m_running || !m_connected)
@@ -385,7 +396,7 @@
   ccn_charbuf *pname = ccn_charbuf_create();
   ccn_closure *dataClosure = new ccn_closure;
 
-  ccn_name_from_uri (pname, strInterest.c_str());
+  ccn_name_from_uri (pname, interest.name().c_str());
   dataClosure->data = (void *)closure;
 
   dataClosure->p = &incomingData;