Move Haskell modules into LinearScan
Optimized the Haskell extraction