diff --git a/Hsed.cabal b/Hsed.cabal
--- a/Hsed.cabal
+++ b/Hsed.cabal
@@ -1,6 +1,10 @@
 Name:                Hsed
-Version:             0.2
-Description:         Haskell Stream Editor
+Version:             0.2.1
+Description:         A version of sed editor in Haskell based on POSIX "The Open Group Base 
+                     Specifications Issue 7" IEEE Std 1003.1-2008.
+                     .
+                     For the library usage check Hsed.Sed module and for the program usage 
+                     take a look in the attached README file
 License:             BSD3
 License-File:        LICENSE
 Author:              Vitaliy Rukavishnikov
@@ -37,8 +41,7 @@
 
 Library
   Hs-Source-Dirs:    src
-  Exposed-Modules:   Hsed.Sed
-  Other-modules:     Hsed.Ast, Hsed.SedRegex, Hsed.Parsec, Hsed.SedState, Hsed.StreamEd
+  Exposed-Modules:   Hsed.Sed, Hsed.Ast, Hsed.SedRegex, Hsed.Parsec, Hsed.SedState, Hsed.StreamEd
   Build-Depends:     base >= 3.0.3.2 && < 5, 
                      Glob >= 0.5.1, 
                      cmdargs >= 0.3, 
diff --git a/src/Hsed/Ast.hs b/src/Hsed/Ast.hs
--- a/src/Hsed/Ast.hs
+++ b/src/Hsed/Ast.hs
@@ -1,6 +1,6 @@
 -- |
 -- Module      :  Ast
--- Copyright   :  (c) Vitaliy Rkavishnikov
+-- Copyright   :  (c) Vitaliy Rukavishnikov
 -- License     :  BSD-style (see the file LICENSE)
 -- 
 -- Maintainer  :  virukav@gmail.com
diff --git a/src/Hsed/Parsec.hs b/src/Hsed/Parsec.hs
--- a/src/Hsed/Parsec.hs
+++ b/src/Hsed/Parsec.hs
@@ -1,6 +1,6 @@
 -- |
 -- Module      :  Parsec
--- Copyright   :  (c) Vitaliy Rkavishnikov
+-- Copyright   :  (c) Vitaliy Rukavishnikov
 -- License     :  BSD-style (see the file LICENSE)
 -- 
 -- Maintainer  :  virukav@gmail.com
diff --git a/src/Hsed/Sed.hs b/src/Hsed/Sed.hs
--- a/src/Hsed/Sed.hs
+++ b/src/Hsed/Sed.hs
@@ -1,14 +1,14 @@
 -- |
 -- Module      :  Sed
--- Copyright   :  (c) Vitaliy Rkavishnikov
+-- Copyright   :  (c) Vitaliy Rukavishnikov
 -- License     :  BSD-style (see the file LICENSE)
 -- 
 -- Maintainer  :  virukav@gmail.com
 -- Stability   :  experimental
 -- Portability :  non-portable
 --
--- This module provides functions to execute the sed script
--- 
+-- This module provides functions to execute the sed script. 
+-- See 'execScript' below for an example
 
 module Hsed.Sed 
  ( execScript
@@ -16,16 +16,17 @@
  , SedScript
  ) where
 
-import Control.Monad (when)
-import qualified Control.Monad.State as S
-import Data.List (isPrefixOf)
 import qualified Data.ByteString.Char8 as B
 import Hsed.StreamEd (runSed)
 import Hsed.SedState
 
 type SedScript = String
 
--- | Execute the sed script and print the output to ByteString
+-- | Execute the sed script and print the output to ByteString.
+--
+--   Example. Suppose the ../tests/Transform.in file contains the line 'Hello world!'.
+--   The execScript ["../tests/Transform.in"] "y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/"
+--   will produce 'HELLO WORLD!' bytestring. 
 execScript :: [FilePath] -> SedScript -> IO B.ByteString
 execScript files script = do
    env <- runSed files script (initEnv {useMemSpace_ = True})
diff --git a/src/Hsed/SedRegex.hs b/src/Hsed/SedRegex.hs
--- a/src/Hsed/SedRegex.hs
+++ b/src/Hsed/SedRegex.hs
@@ -3,7 +3,7 @@
 
 -- Maintainer  :  virukav@gmail.com
 -- Stability   :  experimental
--- Portability :  non-portable-- |
+-- Portability :  non-portable
 
 -- The Sed regular expression implementation based on the regex-posix package.   
 
@@ -11,7 +11,6 @@
 
 import Data.Array ((!))
 import Text.Regex.Posix
---import Text.Regex.TDFA
 import Text.Regex
 import qualified Data.ByteString.Char8 as B
 
@@ -24,10 +23,9 @@
             -> B.ByteString         -- ^ Replacement text
             -> Int                  -- ^ Occurrence
             -> (B.ByteString, Bool) -- ^ (Output string, Replacement occurs)
---sedSubRegex _ "" _ _ = ("", True)
+-- sedSubRegex _ "" _ _ = ("", True)
 sedSubRegex pat inp repl n =
   let regexp = makeRegexOpts compExtended defaultExecOpt pat
-  --let regexp = mkRegex pat -- for TDFA
       compile _i str [] = \ _m -> B.append str
       compile i str ((xstr,(off,len)):rest) =
         let i' = off+len
diff --git a/src/Hsed/SedState.hs b/src/Hsed/SedState.hs
--- a/src/Hsed/SedState.hs
+++ b/src/Hsed/SedState.hs
@@ -2,7 +2,7 @@
 
 -- |
 -- Module      :  SedState
--- Copyright   :  (c) Vitaliy Rkavishnikov
+-- Copyright   :  (c) Vitaliy Rukavishnikov
 -- License     :  BSD-style (see the file LICENSE)
 -- 
 -- Maintainer  :  virukav@gmail.com
diff --git a/src/Hsed/StreamEd.hs b/src/Hsed/StreamEd.hs
--- a/src/Hsed/StreamEd.hs
+++ b/src/Hsed/StreamEd.hs
@@ -2,15 +2,15 @@
 
 -- |
 -- Module      :  StreamEd
--- Copyright   :  (c) Vitaliy Rkavishnikov
+-- Copyright   :  (c) Vitaliy Rukavishnikov
 -- License     :  BSD-style (see the file LICENSE)
 -- 
 -- Maintainer  :  virukav@gmail.com
 -- Stability   :  experimental
 -- Portability :  non-portable
 --
--- The Sed runtime engine. The execution sequence includes the parseArgs (parse the Sed options/args),
--- compile (parse) Sed commands, execute Sed commands.
+-- The Sed runtime engine. The execution sequence includes the parseArgs 
+-- compile (parse) and execute Sed commands.
 
 module Hsed.StreamEd where
 
