reformatted cabal
tightened the version deps
refactor