cleanup. cabal overkill for now. haddocked some things.