Corrections suggested by -Wall
Moved mod-selecting functions to Mods
Added some ghc-options for warnings cabal file