Made type signature on IORef' functions broader
removed unneeded packages from cabal file