Cabal file + small cleanup

-- >using `unsafePerformIO` for no reason