module generation for common block elim
cabal files for build, some tweaks to src