Add cabal build system
Add printing of the generations