diff --git a/rib/nrd.hpp b/rib/nrd.hpp
new file mode 100644
index 0000000..fda116b
--- /dev/null
+++ b/rib/nrd.hpp
@@ -0,0 +1,101 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/**
+ * Copyright (c) 2014-2015,  Regents of the University of California,
+ *                           Arizona Board of Regents,
+ *                           Colorado State University,
+ *                           University Pierre & Marie Curie, Sorbonne University,
+ *                           Washington University in St. Louis,
+ *                           Beijing Institute of Technology,
+ *                           The University of Memphis.
+ *
+ * This file is part of NFD (Named Data Networking Forwarding Daemon).
+ * See AUTHORS.md for complete list of NFD authors and contributors.
+ *
+ * NFD is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * NFD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE.  See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * NFD, e.g., in COPYING.md file.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef NFD_RIB_NRD_HPP
+#define NFD_RIB_NRD_HPP
+
+#include "common.hpp"
+#include "core/config-file.hpp"
+#include "rib-manager.hpp"
+
+#include <ndn-cxx/face.hpp>
+#include <ndn-cxx/security/key-chain.hpp>
+#include <ndn-cxx/transport/transport.hpp>
+
+namespace nfd {
+namespace rib {
+
+/**
+ * \brief Class representing NRD (NFD RIB Manager) instance
+ * This class can be used to initialize all components of NRD
+ */
+class Nrd : noncopyable
+{
+public:
+  class Error : public std::runtime_error
+  {
+  public:
+    explicit
+    Error(const std::string& what)
+      : std::runtime_error(what)
+    {
+    }
+  };
+
+  /**
+   * \brief Create NRD instance using absolute or relative path to \p configFile
+   */
+  Nrd(const std::string& configFile, ndn::KeyChain& keyChain);
+
+  /**
+   * \brief Create NRD instance using a parsed ConfigSection \p config
+   * This version of the constructor is more appropriate for integrated environments,
+   * such as NS-3 or android.
+   * \note When using this version of the constructor, error messages will include
+   *      "internal://nfd.conf" when referring to configuration errors.
+   */
+  Nrd(const ConfigSection& config, ndn::KeyChain& keyChain);
+
+  /**
+   * \brief Perform initialization of NFD instance
+   * After initialization, NFD instance can be started by invoking run on globalIoService
+   */
+  void
+  initialize();
+
+private:
+  void
+  initializeLogging();
+
+  /**
+   * \brief Look into the config file and construct appropriate transport to communicate with NFD
+   * If NRD instance was initialized with config file, INFO format is assumed
+   */
+  shared_ptr<ndn::Transport>
+  getLocalNfdTransport();
+
+private:
+  std::string m_configFile;
+  ConfigSection m_configSection;
+
+  ndn::KeyChain& m_keyChain;
+  unique_ptr<ndn::Face> m_face;
+  unique_ptr<RibManager> m_ribManager;
+};
+
+} // namespace rib
+} // namespace nfd
+
+#endif // NFD_RIB_NRD_HPP
