diff --git a/ChannelT.cabal b/ChannelT.cabal
new file mode 100644
--- /dev/null
+++ b/ChannelT.cabal
@@ -0,0 +1,25 @@
+name:                ChannelT
+version:             0.0.0.1
+synopsis:            Generalized stream processors
+description:         A mutual generalization of [pipes](https://hackage.haskell.org/package/pipes) and [machines](https://hackage.haskell.org/package/machines); a library for exploring a particular corner of the design space of streaming IO (and other related tasks) in Haskell.
+license:             BSD3
+license-file:        LICENSE
+author:              Alexander Altman
+maintainer:          alexanderaltman@me.com
+homepage:            https://github.com/pthariensflame/ChannelT
+copyright:           Copyright (c) 2015-2016, Alexander Altman
+category:            Control, Enumerator, Iteratee, Pipes, Proxies
+build-type:          Simple
+cabal-version:       >= 1.22
+
+library
+  default-language:    Haskell2010
+  hs-source-dirs:      src
+  exposed-modules:     Control.Monad.Channel.Internal
+                     , Control.Monad.Channel
+  -- other-modules:       
+  build-depends:       base >= 4.8.2.0 && < 5
+                     , mtl >= 2.2.1 && < 2.3
+                     , free >= 4.12.4 && < 4.13
+                     , transformers-base >= 0.4.4 && < 0.5
+                     , mmorph >= 1.0.5 && < 1.1
diff --git a/LICENSE b/LICENSE
new file mode 100644
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,12 @@
+Copyright (c) 2015, Alexander Altman
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/Setup.hs b/Setup.hs
new file mode 100644
--- /dev/null
+++ b/Setup.hs
@@ -0,0 +1,3 @@
+import Distribution.Simple
+
+main = defaultMain
diff --git a/src/Control/Monad/Channel.hs b/src/Control/Monad/Channel.hs
new file mode 100644
--- /dev/null
+++ b/src/Control/Monad/Channel.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE Safe #-}
+module Control.Monad.Channel (
+  Channel,
+  ChannelT,
+  MonadChannel(..),
+) where
+import Control.Monad.Channel.Internal
diff --git a/src/Control/Monad/Channel/Internal.hs b/src/Control/Monad/Channel/Internal.hs
new file mode 100644
--- /dev/null
+++ b/src/Control/Monad/Channel/Internal.hs
@@ -0,0 +1,37 @@
+{-# LANGUAGE FunctionalDependencies, PolyKinds, FlexibleContexts #-}
+{-# LANGUAGE ExistentialQuantification, FlexibleInstances, UndecidableInstances #-}
+{-# LANGUAGE StandaloneDeriving, GeneralizedNewtypeDeriving, Trustworthy #-}
+{-# LANGUAGE AutoDeriveTypeable, DeriveFunctor, DeriveGeneric #-}
+module Control.Monad.Channel.Internal (ChannelT(..), Channel, MonadChannel(..), ChannelF(..)) where
+import Control.Monad.Trans
+import Control.Monad.Identity
+import Control.Monad.Base
+import Control.Monad.Morph
+import Control.Monad.Trans.Free
+import GHC.Generics
+
+instance (MonadBase b m, Functor f) => MonadBase b (FreeT f m) where
+  liftBase = liftBaseDefault
+instance Functor f => MFunctor (FreeT f) where
+  hoist = hoistFreeT
+deriving instance Generic (FreeT f m a)
+
+newtype ChannelT sel m a = ChannelT { unChannelT :: FreeT (ChannelF sel) m a }
+  deriving (Functor, Applicative, Monad, MFunctor, MonadTrans, MonadFree (ChannelF sel), Generic1, Generic)
+deriving instance MonadBase b m => MonadBase b (ChannelT sel m)
+
+data ChannelF (sel :: * -> * -> *) (x :: *) =
+  forall (i :: *) (o :: *). SyncChannel {
+    selectorF :: sel i o,
+    outputF :: o,
+    inputF :: i -> x
+  }
+deriving instance Functor (ChannelF sel)
+
+class Monad m => MonadChannel (sel :: * -> * -> *) (m :: * -> *) | m -> sel where
+  syncOn :: sel i o -> o -> m i
+
+instance Monad m => MonadChannel sel (ChannelT sel m) where
+  syncOn s o = ChannelT . FreeT . return . Free . SyncChannel s o $ FreeT . return . Pure
+
+type Channel sel = ChannelT sel Identity
