Finance Framework in Haskell