fallback to cabal, if cabal-dev is unavailable
separate library code from everything else
bump version and update NEWS