diff --git a/LICENSE b/LICENSE
new file mode 100644
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,22 @@
+Copyright (c) 2015, Sannsyn AS
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
diff --git a/Setup.hs b/Setup.hs
new file mode 100644
--- /dev/null
+++ b/Setup.hs
@@ -0,0 +1,2 @@
+import Distribution.Simple
+main = defaultMain
diff --git a/library/XMLQuery/XMLConduit.hs b/library/XMLQuery/XMLConduit.hs
new file mode 100644
--- /dev/null
+++ b/library/XMLQuery/XMLConduit.hs
@@ -0,0 +1,17 @@
+module XMLQuery.XMLConduit where
+
+import BasePrelude
+import Data.Text (Text)
+import qualified XMLQuery.XMLTypes
+import qualified XMLQuery
+import qualified Text.XML
+import qualified Data.XML.Types
+
+
+-- |
+-- An interpreter for the top-level element of \"xml-conduit\" documents.
+{-# INLINE document #-}
+document :: XMLQuery.Element a -> Text.XML.Document -> Either (Maybe Text) a
+document query document =
+  XMLQuery.XMLTypes.element query $ Data.XML.Types.documentRoot $ Text.XML.toXMLDocument $ document
+
diff --git a/xml-query-xml-conduit.cabal b/xml-query-xml-conduit.cabal
new file mode 100644
--- /dev/null
+++ b/xml-query-xml-conduit.cabal
@@ -0,0 +1,53 @@
+name:
+  xml-query-xml-conduit
+version:
+  0.3
+synopsis:
+  A binding for the "xml-query" and "xml-conduit" libraries
+category:
+  Data, XML, Parsing
+homepage:
+  https://github.com/sannsyn/xml-query-xml-conduit 
+bug-reports:
+  https://github.com/sannsyn/xml-query-xml-conduit/issues 
+author:
+  Nikita Volkov <nikita.y.volkov@mail.ru>
+maintainer:
+  Nikita Volkov <nikita.y.volkov@mail.ru>
+copyright:
+  (c) 2015, Sannsyn AS
+license:
+  MIT
+license-file:
+  LICENSE
+build-type:
+  Simple
+cabal-version:
+  >=1.10
+
+
+source-repository head
+  type:
+    git
+  location:
+    git://github.com/sannsyn/xml-query-xml-conduit.git
+
+
+library
+  hs-source-dirs:
+    library
+  default-extensions:
+    Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
+  default-language:
+    Haskell2010
+  other-modules:
+  exposed-modules:
+    XMLQuery.XMLConduit
+  build-depends:
+    xml-query >= 0.9 && < 0.10,
+    xml-query-xml-types >= 0.4 && < 0.5,
+    xml-types >= 0.3.6 && < 0.4,
+    xml-conduit >= 1.3 && < 1.4,
+    text >= 1 && < 2,
+    --
+    base-prelude >= 0.1.19 && < 0.2
