Improve the cabal structure.
Updates the version restrictions.