Added command line parser. See for an example: http://hackage.haskell.org/package/base-4.6.0.1/docs/System-Console-GetOpt.html.