Trying to clean up the cabal file.
Adding a top level module, with just the version.
Minor fixes for syntax in hlint and adding templating to pull out the version number from Cabal.