diff --git a/Hranker.hs b/Hranker.hs
new file mode 100644
--- /dev/null
+++ b/Hranker.hs
@@ -0,0 +1,21 @@
+import Hranker.CommandLine (clMain)
+import Hranker.Rank (highestRank)
+
+import Control.Monad (when)
+import System.Environment (getArgs)
+import System.Exit (exitFailure)
+
+usage :: IO ()
+usage = do
+    putStrLn $ "To rank a series of integers from " ++ show highestRank ++ " to N, type hranker N"
+    putStrLn "To rank any other sequence of items, you will need to either edit the source code of this program,"
+    putStrLn "or use Hranker.CommandLine.clMain from ghci."
+    exitFailure
+
+main :: IO ()
+main = do
+    args <- getArgs
+    when (null args) usage
+    let arg1 = head args
+    when (head arg1 == '-') usage
+    clMain [1..read arg1]
diff --git a/LICENSE b/LICENSE
new file mode 100644
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,30 @@
+
+Copyright (c) 2009 Robin Green
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+    * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+
+    * 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.
+
+    * Neither the name of Robin Green nor the names of other
+      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
+OWNER 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.lhs b/Setup.lhs
new file mode 100644
--- /dev/null
+++ b/Setup.lhs
@@ -0,0 +1,3 @@
+#!/usr/bin/env runhaskell
+> import Distribution.Simple
+> main = defaultMain
diff --git a/hranker.cabal b/hranker.cabal
new file mode 100644
--- /dev/null
+++ b/hranker.cabal
@@ -0,0 +1,21 @@
+name:                hranker
+version:             0.1
+Cabal-Version:	     >= 1.6
+synopsis:            Basic utility for ranking a list of items
+description:         A CLI utility for helping the user to rank a list of items in order.
+                     Ties are permitted.
+category:            Console
+license:             BSD3
+license-file:        LICENSE
+copyright:	     Copyright (C) Robin Green 2009
+author:              Robin Green
+maintainer:          Robin Green <greenrd@greenrd.org>
+build-type:	     Simple
+stability:	     experimental
+bug-reports:	     mailto:greenrd@greenrd.org
+tested-with:	     GHC == 6.10.1
+
+Executable hranker
+  build-Depends:	base, HCL >= 1.4, HCL < 1.5, NonEmpty >= 0.1, NonEmpty < 0.2
+  main-is:	Hranker.hs
+  ghc-options:          -Wall -fno-warn-type-defaults
