Add cabal build system and metadata
Add -I0 runtime flag and compile with -threaded