Commit before Cabal-ization
Migrated to Cabal. Makefile kept for profiling etc